| Conditions | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import {MigrationInterface, QueryRunner} from 'typeorm'; |
||
| 24 | |||
| 25 | public async down(queryRunner: QueryRunner): Promise<any> { |
||
| 26 | await queryRunner.query( |
||
| 27 | `ALTER TABLE "pay_slip" DROP CONSTRAINT "FK_e70c3a9343494ab691a33302fe5"`, |
||
| 28 | undefined |
||
| 29 | ); |
||
| 30 | await queryRunner.query( |
||
| 31 | `ALTER TABLE "pay_slip" DROP CONSTRAINT "FK_252d4cbbedfa1f1fb66ada01a07"`, |
||
| 32 | undefined |
||
| 33 | ); |
||
| 34 | await queryRunner.query(`DROP TABLE "pay_slip"`, undefined); |
||
| 35 | await queryRunner.query(`DROP TABLE "file"`, undefined); |
||
| 36 | } |
||
| 38 |